package cn.lili.modules.promotion.entity.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author xiangqian
 * @version 1.0
 * @data 2023/12/20 9:21
 */
@Data
public class GreenConfigValueDTO {

    @ApiModelProperty(value = "贡献值产出比")
    private Integer outputratio;

    @ApiModelProperty(value = "分红时间")
    private String config;

    @ApiModelProperty(value = "分红奖金投入")
    Putinto putinto;

    @ApiModelProperty(value = "手续费配置")
    Handlingcharge handlingcharge;

    @Data
    public static class Putinto {

        @ApiModelProperty(value = "是否开启店主")
        private Boolean shop;

        @ApiModelProperty(value = "是否开启用户")
        private Boolean user;

        @ApiModelProperty(value = "是否开启商家")
        private Boolean store;

        @ApiModelProperty(value = "是否开启代理")
        private Boolean agent;

        @ApiModelProperty(value = "是否开启工会")
        private Boolean union;

        @ApiModelProperty(value = "是否开启城主")
        private Boolean castellan;

        @ApiModelProperty(value = "是否开启直推")
        private Boolean lower;

        @ApiModelProperty(value = "是否开启间推")
        private Boolean lowerSub;
    }

    @Data
    public static class Handlingcharge {

        @ApiModelProperty(value = "兑换值领取奖金手续费")
        private BigDecimal exchangevalue;

        @ApiModelProperty(value = "分红手续费")
        private BigDecimal dividendvalue;
    }
}
